package com.itmk.web.select_seat.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itmk.web.select_seat.entity.SelectSeat;
import com.itmk.web.select_seat.entity.SelectSeatParm;
import com.itmk.web.select_seat.entity.SignParm;
import com.itmk.web.wxapi.entity.EchartsItem;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author java实战基地
 * @since 2023-10-28
 */
public interface SelectSeatService extends IService<SelectSeat> {
    IPage<SelectSeat> getList(SelectSeatParm parm);
    //签到
    void signSeat(SignParm signParm);
    //签退
    void signOut(SignParm signParm);
    //统计每月预约总数
    List<EchartsItem> getTotalMonth();
    //最受欢迎预览室
    List<EchartsItem> getHotRoom();
}
